package com.fzy.client;

import com.fzy.client.presenter.RootPresenter;
import com.fzy.client.view.RootView;
import com.mvp4g.client.annotation.Event;
import com.mvp4g.client.annotation.Events;
import com.mvp4g.client.annotation.Start;
import com.mvp4g.client.event.EventBus;

//start view is the view that will be automatically added to the RootPanel/RootLayoutPanel
@Events( startView = RootView.class )
public interface TestEventBus extends EventBus {

	@Start
	@Event( handlers = { RootPresenter.class } )
	public void start();
	
	@Event( handlers = RootPresenter.class )
	public void toggleLeftNav();

}
